Skip to content

WIP - Iterate over percents array for percentile aggregations#326

Open
afcollins wants to merge 1 commit intocloud-bulldozer:mainfrom
afcollins:percents_325
Open

WIP - Iterate over percents array for percentile aggregations#326
afcollins wants to merge 1 commit intocloud-bulldozer:mainfrom
afcollins:percents_325

Conversation

@afcollins
Copy link
Member

@afcollins afcollins commented Mar 23, 2026

Removes the notion of 'default' target_percentile, which effectively negates querying a range of percentiles.

Fixes #325

Aided by Cursor using claude-4.6-sonnet model.

Type of change

  • Refactor
  • New feature
  • Bug fix
  • Optimization
  • Documentation Update

Description

When a list of 'percents' is configured on a percentile aggregation, iterate over this list to build out queries, keys, and columns for presentation and change point detection.

Key/column format will be like: podReadyLatency_percentiles_10.0

Added an example to show how to use with kube-burner's metrics profile and podLatency measurements (i.e. not podLatencyMeasurementQuantiles)

Related Tickets & Documents

Checklist before requesting a review

  • I have performed a self-review of my code.
  • If it is a core feature, I have added thorough tests.
  • Needs a bats test with percentiles list to verify behavior.
  • Likely needs updates to other percentiles tests and docs updates around targetPercentile expectations.

Testing

  • Please describe the System Under Test.
  • Please provide detailed steps to perform tests related to this code change.
  • How were the fix/results from this change verified? Please provide relevant screenshots or results.

@openshift-ci
Copy link

openshift-ci bot commented Mar 23, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign josecastillolema for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@afcollins
Copy link
Member Author

cc: @chentex Since you wrote the initial code and probably understand the intention behind target_percentile, I just wanted something working today, so I put this together quickly.

@afcollins afcollins force-pushed the percents_325 branch 2 times, most recently from 6181416 to 64b34fd Compare March 26, 2026 06:10
Removes the notion of 'default' target_percentile, which effectively
negates querying a range of percentiles.

Fixes cloud-bulldozer#325

Aided by Cursor using claude-4.6-sonnet model.

Signed-off-by: Andrew Collins <ancollin@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

target_percentile default negates percents range

1 participant